package com.baofu.paycore.service.facade.model.refund.req;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 *退款策略配置信息类
 *
 * @author liuting
 * Created by user on 2016/4/27.
 */
@Setter
@Getter
@ToString(callSuper = true)
public class RefundStrategyModifyReqDTO implements Serializable {

    /**
     * 数据库主键
     */
    @NotNull(message = "主键id不能为空")
    private Long id;

    /**
     * 删除标识
     */
    private String usableFlag;
    /**
     * 退款策略名
     */
    @NotBlank(message = "退款策略名不能为空")
    private String refundStrategyName;

    /**
     * 退款优先级配置
     */
    private String refundStrategyPriority;

    /**
     * 退款模式配置
     */
    private String refundStrategyMode;

    /**
     * 备注
     */
    private String remark;

    /**
     * 修改人
     */
    @NotBlank(message = "修改人不能为空")
    private String updatedBy;
}
